home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
dsp
/
dspgroup
/
asms.arc
/
SINTBL.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1987-08-16
|
234 b
|
17 lines
#include <stdio.h>
#include <math.h>
main(argc,argv)
int argc;
char *argv[];
{
double x,y;
int i,j;
y=2.0*atan(1.0)/64.0/64.0;
for (i=0;i<64;i++)
{ j=32767.0*cos((double)i*y);
printf(" dw %6d,\n",j);
}
}